package com.banksoft.admin.dao;

import com.banksoft.admin.entity.Notice;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2016/5/5.
 */
@Repository
public interface NoticeDao {
    List<Notice> loadNotices(@Param("size")int size);

    List<Notice> listForPage(Map map);

    int countForPage(Map map);
}
